
package org.xteam.box2text.parser.ast;

import org.xteam.parser.runtime.Span;

public class Box extends BoxSpec {
	
	
	protected Ident type;
	protected org.xteam.parser.runtime.AstList<Option> options;
	protected org.xteam.parser.runtime.AstList<BoxSpec> children;
	
	public Box(Span span, Ident type,org.xteam.parser.runtime.AstList<Option> options,org.xteam.parser.runtime.AstList<BoxSpec> children) {
		super(span);
		this.type = type;
		this.options = options;
		this.children = children;
	}
	
	
	public Ident getType() {
		return type;
	}
	
	public void setType(Ident type) {
		this.type = type;
	}
	
	public org.xteam.parser.runtime.AstList<Option> getOptions() {
		return options;
	}
	
	public void setOptions(org.xteam.parser.runtime.AstList<Option> options) {
		this.options = options;
	}
	
	public org.xteam.parser.runtime.AstList<BoxSpec> getChildren() {
		return children;
	}
	
	public void setChildren(org.xteam.parser.runtime.AstList<BoxSpec> children) {
		this.children = children;
	}
	

	public void visit(IBoxVisitor visitor) {
		visitor.visitBox(this);
	}
}
